<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>what</title>
    <!-- <link rel="stylesheet" href="reset.css">
    <link rel="stylesheet" href="panel.css"> -->
</head>
<body>
    
    <div id="vue_det">
        <h1>site : {{site}}</h1>
        <h1>url : {{url}}</h1>
        <h1>{{details()}}</h1>
        <button @click="site=123">{{site}}</button>
    </div>
    <script src="vue.min@1.x@csp.js" ></script>
    <script type="text/javascript">
    console.log("tools log")
        var vm = new Vue({
            el: '#vue_det',
            data: {
                site: "菜鸟教程",
                url: "www.runoob.com",
                alexa: "10000"
            },
            methods: {
                details: function() {
                    return  this.site + " - 学的不仅是技术，更是梦想！";
                }
            }
        })
    </script>
</body>

</html>